package homework37;

public class Client {
    public static void main(String[] args) {
        CalculatorForm calculatorForm  = new CalculatorForm();
       Command command  ;
       command = new AddCommand();
       calculatorForm.setCommand(command);
        calculatorForm.compute(10);
        calculatorForm.compute(50);
        calculatorForm.compute(100);
        calculatorForm.undo();
    }
}
